using System.Collections;
using System.Collections.Generic;
using System.Net.Sockets;
using UnityEngine;

namespace EasyNetWork
{
    public sealed class ConnectState
    {
        private readonly Socket m_Socket;
        private readonly object m_UserData;

        public ConnectState(Socket socket,object userdata)
        {
            m_Socket = socket;
            m_UserData = userdata;
        }

        public Socket Socket
        {
            get
            {
                return m_Socket;
            }
        }

        public object userdata
        {
            get
            {
                return m_UserData;
            }
        }
    }

}
